package cn.fzkj.springboot.controller;

import cn.fzkj.springboot.provider.UserProvider;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexController {

    @RequestMapping("/getUsers")
    public Object getUsers(){
        return UserProvider.getUsers();
    }

    @RequestMapping("/getUser")
    public String getUser(){
        return "getUser";
    }

}
